package com.darksider.darkotlin.bean

/**
 * User: yaodong(1126220529@qq.com)
 * Date: 2017-05-26
 * Time: 11:30
 * Description:数据类存放 用于解析
 * Update:
 */

data class User(val userId: Long, val name: String, val gender: String)

data class CarResult(val Result: Int = -1, val Cars:List<Car>)

data class Car(var CarID: Int = 0,
               var CarNo: String? = null,
               var CarAddr: String? = null,
               var Lng: Double = 0.toDouble(),
               var Lat: Double = 0.toDouble(),
               var Distance: Int = 0,
               var SOC: Int = 0,
               var CanDrive: Int = 0,
               var ModelID: Int = 0,
               var ModelName: String? = null,
               var ModelAlias: String? = null,
               var ModelIcon: String? = null,
               var ModelImg: String? = null,
               var PriceID: Int = 0,
               var BasePrice: Double = 0.toDouble(),
               var MorningPrice: Double = 0.toDouble(),
               var MorningTime: String? = null,
               var EveningPrice: Double = 0.toDouble(),
               var EveningTime: String? = null,
               var HolidayPrice: Double = 0.toDouble(),
               var HolidayTime: String? = null,
               var LimitMile: Int = 0,
               var OverMilePrice: Double = 0.toDouble(),
               var CleanPrice: Double = 0.toDouble(),
               var BailFee: Double = 0.toDouble(),
               var ExcessFee: Double = 0.toDouble(),
               var People: Int = 0)